<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');

class Uservouchers_m extends FOX_Model
{

	function __construct ()
	{
		parent::__construct();
        $this->config->load('userset');//用户积分
	}

    /**
     * @param $order_id
     * @return mixed
     * 查询单条
     */
    public function get_all_free_vouchers(){
        $query = $this->db
            ->select('*')
            ->from('free_vouchers')
            ->get();
        return $query->result_array();
    }

    


}
